A partition of a set S such that . For each the set is called a block of a partition and we write when consists of k blocks. In addition denotes the number of partitions of having k blocks and it is called a stirling number of the second kind
Example
The set has seven partitions into two nonempty blocks namely
Example
Consider
(1) follows since each element in can be assigned to either the first or second block so we have possibilities. But because we cannot have cases where all elements are in the first or in the second group in which we case we have . Finally we need to account for symmetry so dividing by 2 to eliminate symmetry we have as desired (see below for more). The last one follows when we consider that in all such permutations at least 1 element must be of size 2. Explicitly they all look like
where order doesn't matter. So our problem is reduced to choosing which item will be size 2. The rest are obvious.
Definition
For the total number of partitions of is denoted by and called a Bell number. In which case it is clear that
since we just simply summing all cases of number of partitions which are clearly distinct independent cases
Theorem
For every the following identity holds
Proof. By definition of bell number the LHS counts the set of of partitions of . In which case we may do
where the second equality follows by considering the block containing and enumerating through all it possible sizes. We also enumerated through all its possible members too via (number of ways to choose other members not in this block of size ). Then finally counts the number of ways to partition the remaining elements. Clearly all distinct cases(all cases the block containing will differ in size and members) so summing them up works. The 3rd equality follows by change of variable and the last is obvious.
9. Ordinary Generating Functions
11. Exponential Generating Functions
Definition
Let be a sequence of real numbers. The exponential generating function of is the formal series
Example
Let us find an explicit formula for the exponential generating function of the sequence where denotes the n-th Bell number. Recall that
Solution. First notice that
Where the 3rd equality follows by a shift in and the 3rd equality is subbin in into our expression.Finally the last equality follows since
since
Then we obtain then by fundamental theorem of calculus we know